package com.dz.risk.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dz.risk.common.ResponseVO;
import com.dz.risk.common.exception.RRException;
import com.dz.risk.pojo.domain.RiskFactorEntity;
import org.apache.poi.ss.usermodel.Workbook;


/**
 * 风险因子表
 *
 * @author baohan
 * @date 2021-06-18 14:00:30
 */
public interface RiskFactorService extends IService<RiskFactorEntity> {

    ResponseVO readExcelRiskFactor(Workbook wb) throws RRException;

    void add(RiskFactorEntity factorEntity) throws RRException;

    void updateRiskContent(RiskFactorEntity factorEntity) throws RRException;

    void deleteById(String id) throws RRException;

    IPage<RiskFactorEntity> listByParams(Integer pageNum, Integer pageSize, String searchName) throws RRException;
}

